home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2c.lha
/
p4-1.2c
/
contrib_f
/
makefile.proto
< prev
next >
Wrap
Makefile
|
1993-06-04
|
1KB
|
38 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIB = $(LIBDIR)/libp4.a
FORTLIBDIR = $(P4_HOME_DIR)/lib_f
FORTLIB = $(FORTLIBDIR)/libp4_f.a
MAIN = fslave_main.o
LIBS = $(FORTLIB) $(LIB) $(MDEP_LIBS)
default:$(P)
all:$(P)
make $(MFLAGS) norm_master norm_slave
make $(MFLAGS) comm_master comm_slave
make $(MFLAGS) pi
pi: pi.o $(FORTLIB) $(LIB)
$(FLINKER) $(MDEP_FFLAGS) -o pi pi.o $(LIBS)
norm_master: norm_master.o norm_slave.o $(FORTLIB) $(LIB)
$(FLINKER) $(MDEP_FFLAGS) -o norm_master norm_master.o norm_slave.o $(LIBS)
norm_slave: norm_slave.o $(MAIN) $(FORTLIB) $(LIB)
$(FLINKER) $(MDEP_FFLAGS) -o norm_slave $(MAIN) norm_slave.o $(LIBS)
comm_master: comm_master.o comm_slave.o $(LIB)
$(FLINKER) $(MDEP_FFLAGS) -o comm_master comm_master.o comm_slave.o $(LIBS)
comm_slave: comm_slave.o $(MAIN) $(LIB)
$(FLINKER) $(MDEP_FFLAGS) -o comm_slave $(MAIN) comm_slave.o $(LIBS)
realclean: clean
$(RM) -f norm_master norm_slave comm_master comm_slave pi \
Makefile p4f.h alogfile.p*